Testcases 1...4  backtrack
Testcases 4...7 Dynamic prg of type O(x*(y^2));
Testcases 8...10 Dynamic prg of the opposite type (i.e. O((x^2)*y);

